package com.hooper.iot.entity;

/**
 * @ Copyright
 * @ Author     ：wangcheng.
 * @ Date       ：Created in 16:34 2022/4/21
 * @ Description：
 * @ Modified By：
 * @Version: $
 */
public class RegisterReq {

    private Body body;
    private boolean callBack = true;
    private String deviceId;
    private long msgDate = System.currentTimeMillis();
    private long msgDateStamp;
    private String msgId;
    private String msgType;

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }

    public boolean getCallBack() {
        return callBack;
    }

    public void setCallBack(boolean callBack) {
        this.callBack = callBack;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public long getMsgDate() {
        return msgDate;
    }

    public void setMsgDate(long msgDate) {
        this.msgDate = msgDate;
    }

    public long getMsgDateStamp() {
        return msgDateStamp;
    }

    public void setMsgDateStamp(long msgDateStamp) {
        this.msgDateStamp = msgDateStamp;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public class Body {
        private long dateStamp;

        public long getDateStamp() {
            return dateStamp;
        }

        public void setDateStamp(long dateStamp) {
            this.dateStamp = dateStamp;
        }

    }
}
